Temporal Triggers in Active Databases
نویسندگان
چکیده
In this paper we propose two languages, called Future Temporal Logic (FTL) and Past Temporal Logic (PTL), for specifying temporal triggers. Some examples of trigger conditions that can be speciied in our language are the following: \The value of a certain attribute increases by more than 10% in ten minutes", "A tuple that satisses a certain predicate is added to the database at least 10 minutes before another tuple, satisfying a diierent condition, is added to the database". Such triggers are important for monitor and control applications. In addition to the languages, we present algorithms for processing the trigger conditions speciied in these languages, namely, procedures for determining when the trigger conditions are satissed. These methods can be added as a "temporal" component to an existing database management systems. A preliminary prototype of the temporal component that uses the FTL language has been built on top of Sybase running on SUN workstations.
منابع مشابه
Temporal Rule Specification and Management in Object-oriented Knowledge Bases
There have been many recent research efforts on temporal databases for managing current and historical data and on active databases for monitoring real-world events as well as data conditions/constraints by rules and triggers. However, the specification and management of temporal rules in active object-oriented databases has not been investigated. This paper deals with the specification and man...
متن کاملTowards an Accommodation of Delay in Temporal Active Databases
Business rules can be formulated according to the eventcondition-action structure of triggers in active databases. However, delays in the execution of such rules can cause unexpected and undesired side-effects. While business rules are commonly constructed from an external user’s perspective, users often neglect to cater for the cases in which unanticipated sequences of I/O and rule activation ...
متن کاملUsing Smodels (Declarative Logic Programming) to Verify Correctness of Certain Active Rules
In this paper we show that the language of declarative logic programming (DLP) with answer sets and its extensions can be used to specify database evolution due to updates and active rules, and to verify correctness of active rules with respect to a specification described using temporal logic and aggregate operators. We classify the specification of active rules into four kind of constraints w...
متن کاملSpecifying Reactive Integrity Control for Active Databases
Recent approaches to integrity enforcement in active databases suggest not only to check constraint violations by triggers but also to utilize triggers to perform inconsistency repair actions. However, for sophisticated reactions these approaches often require refinements of already derived integrity maintaining and inconsistency repairing triggers. We argue that analyzing and specifying reacti...
متن کاملSoftware Architecture OCL2Trigger: Deriving active mechanisms for relational databases using Model-Driven Architectureq
Transforming integrity constraints into active rules or triggers for verifying database consistency pro duces a serious and complex problem related to real time behaviour that must be considered for any implementation. Our main contribution to this work is to provide a complete approach for deriving the active mechanisms for Relational Databases from the specification of the integrity constrain...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- IEEE Trans. Knowl. Data Eng.
دوره 7 شماره
صفحات -
تاریخ انتشار 1995